/* 基础 */

*{
    margin: 0;
    padding: 0;
}
body{
    color: #666;
    font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
    font-size: 14px;
    color: #444;
    font-weight: 400;
}
a{
    text-decoration: none;
    color: #666;
}
a:hover{
    opacity: 0.9;
}

/* 布局 */

.container{
    max-width: 1140px;
    margin: 0 auto;
}
.row{
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
}
.row>div{
    margin: 10px;
    padding: 10px;
    background-color: #EBEEF5;
    border-radius: 4px;
}
.row>div:first-child{
    margin-left: 0;
}
.row>div:last-child{
    margin-right: 0;
}
.shrink{
    flex-shrink: 1;
}
.grow{
    flex-grow: 1;
}
.change{
    flex: 1;
}

/* 标题 */

.title{
    font-weight: 550;
    font-size: 18px;
    color: #555;
    padding: 5px;
    border-bottom: 2px solid #fff;
    margin-bottom: 10px;
}
.h{
    text-align: center;
    display: flex;
    align-items: center;
    color: #666;
    margin: 15px 0;
}
.h::before{
    content: '';
    display: block;
    box-sizing: border-box;
    height: 1px;
    border-bottom: 1px solid #666;
    flex: 1;
    margin: 0 15px;
}
.h::after{
    content: '';
    display: block;
    box-sizing: border-box;
    height: 1px;
    border-bottom: 1px solid #666;
    flex: 1;
    margin: 0 15px;
}

/* 导航 */

.nav{
    margin-top: 0;
    border-radius: 0;
    padding: 5px;
    height: 50px;
    background-color: #EBEEF5;
}
.nav>.navbar{
    padding: 0;
    height: 50px;
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.nav ul{
    list-style: none;
    display: flex;
    user-select: none;
    width: auto;
    border: none;
    border-radius: 0;
    padding: 0;
    background-color: #EBEEF5;
}
.nav ul li{
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
    font-size: 15px;
}
.nav ul:last-child li:last-child{
    padding-right: 0;
}
.nav ul:first-child li:first-child{
    padding-left: 0;
    font-size: 20px;
}
@media all and (max-width: 830px){
    .nav ul li{
        padding: 0 15px;
    }
}
@media all and (max-width: 620px){
    .nav ul li{
        padding: 0 10px;
    }
}
@media all and (max-width: 520px){
    .nav ul li{
        padding: 0 5px;
    }
}

/* 按钮 */

button{
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    background-color: #fff;
    color: #666;
    text-align: center;
    outline: none;
    margin: 0;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    margin: 5px 5px;
}
button:hover{
    color: #3a8ee6;
    background-color: #ecf5ff;
    border-color: #ece2ff;
}

button.grey{
    color: #fff;
    background-color: #909399;
    border-color: #909399;
}
button.grey:hover{
    opacity: 0.8;
}

button.primary{
    color: #fff;
    background-color: #3a8ee6;
    border-color: #3a8ee6;  
}
button.primary:hover{
    opacity: 0.8;
}
button.round{
    border-radius: 20px;
}
button.circle{
    padding: 12px;
    border-radius: 50%;
}

/* 输入框 */

input,input[type='password'],input[type='select'],select{
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    box-sizing: border-box;
    color: #606266;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    outline: none;
    padding: 0 15px;
    transition: border-color .2s cubic-bezier(.645,.045,.355,1);
    width: 100%;
    cursor: pointer;
    margin: 5px 0;
}
input:hover{
    cursor: pointer;
}
input:focus,textarea:focus{
    border-color: #3a8ee6;
}

textarea{
    display: block;
    width: 100%;
    height: 60px;
    min-height: 33px;
    margin: 5px 0;
    padding: 5px 15px;
    outline: none;
    resize: vertical;
    line-height: 1.5;
    box-sizing: border-box;
    color: #606266;
    border-radius: 4px;
    border-color: #409eff;
    background-color: #fff;
    border: 1px solid #dcdfe6;
    transition: border-color .2s cubic-bezier(.645,.045,.355,1);
}


/* 表格 */

.table{
    width: 100%;
    display: table;
    background-color: #fff;
    border: 1px solid #ebebeb;
    border-radius: 3px;
    padding: 24px;
    border-spacing: 0;
    box-shadow: 1px 1px 5px #ccc;
    box-sizing: border-box;
}
.table tr{
    text-align: left;
}
.table tr:hover{
    background-color: #f5f7fa;
}
.table tr:first-child:hover{
    background-color: #fff;
}
.table th{
    color: #777;
    border-bottom: 2px solid #ebebeb;
    padding: 12px 0 12px 5px;
}
.table td{
    border-bottom: 1px solid #ebebeb;
    font-size: 14px;
    padding: 12px 0 12px 5px;
    min-width: 80px;
}

/* 列表 */

.ul{
    display: block;
    list-style: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 12px;
    background-color: #fff;
}
.ul li{
    padding: 5px 15px;
    margin: 5px;
    background-color: #F2F6FC;
    border-radius: 20px;
}
.ul li:hover{
    background-color: #eee;
    color: #000;
}


.list{
    display: inline-block;
    list-style: none;
    border-radius: 4px;
    background-color: #fff;
}
.list li{
    padding: 8px 32px;
    color: #fff;
    background-color: #66c6f2;
    text-align: center;
    border-bottom: 1px solid #fff;
}
.list li:hover{
    background-color: #39a9ed;
}
.list.left li{
    text-align: left;
}

/* 图片 */

img{
    float: left;
}
img.border{
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 4px;
    border-radius: 4px;
    margin: 5px;
    vertical-align: top;
    box-sizing: border-box;
}
img.shadow{
    box-shadow: 1px 1px 20px #888;
    margin: 5px;
    vertical-align: top;
    box-sizing: border-box;
}
img.round{
    margin: 5px;
    border-radius: 50%;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* 其他 */

.hr{
    border-bottom: 1px solid #ddd;
    margin: 15px 0;
}

.p{
    display: block;
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    font-family: Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,SimSun,sans-serif;
}

i{
    font-size: 24px !important;
}